import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-04-18
 * Time: 8:58
 */
public class Demo5 {
    public static void main(String[] args) {
        File f1=new File("./aaa/bbb/ccc");
    // f1.mkdir();//创建一级目录
        f1.mkdirs();//创建多级目录
        System.out.println(f1.exists());
        System.out.println(f1.isFile());
        System.out.println(f1.isDirectory());
    }
}
